<?php


namespace App\Models;


use Illuminate\Database\Eloquent\Relations\HasMany;

class RecruitCategory extends BaseModel
{
    protected $table = 'recruit_category';

    /**
     * @return HasMany
     */
    public function children(): HasMany
    {
        return $this->hasMany(RecruitCategory::class, 'parent_id');
    }
}
